package cn.sq.musicserver.plug.model.neteasecloudmusic.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: SQ
 * Date: 2020/12/10
 * Time: 15:50
 * Description:常量
 */
public class NeteaseCloudMusicConstant {
    /**
     * 基础地址
     */
    public static  final String  BASE_URL= "http://10.147.19.59:7008";
    /**
     * 邮箱登录地址
     */
    public static  final String  EMAIL_LOGIN= BASE_URL+"/login";
    /**
     * 检测登录状态
     */
    public static  final String  LOGIN_STATUS= BASE_URL+"/login/status";
    /**
     * 搜索
     */
    public static  final String  SEARCH= BASE_URL+"/search";
    /**
     * 搜索(更全的 推荐)
     */
    public static  final String  CLOUD_SEARCH= BASE_URL+"/cloudsearch";

    /**
     * 歌词搜索
     */
    public static  final String  LYRIC= BASE_URL+"/lyric";
    /**
     * 歌曲详情
     */
    public static  final String  SONG_DETAIL= BASE_URL+"/song/detail";

    /**
     * 通用请求头
     */
    public static HashMap<String, String> HEADERS = new HashMap<String, String>(){{
        put("Accept", "*/*");
        put("Accept-Encoding", "gzip, deflate");
        put("Accept-Language", "zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3");
    }};

    /**
     * 请求成功的COOKIES
     */
    public static Map<String, String> COOKIES= null;


}
